package com.xy.biz.base.domain.enums;

import com.xy.lang.enums.CodeEnum;

public enum GoodsBatchStatusEnum implements CodeEnum {

    ORDINARY(1, "正常"),
    FREEZE(2, "冻结"),
    ABANDON(3, "废弃");

    private int code;
    private String name;

    GoodsBatchStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
